package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Ticket;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface TicketMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Ticket record);

    Ticket selectByPrimaryKey(Long id);

    List<Ticket> selectAll();

    int updateByPrimaryKey(Ticket record);


    List<Ticket> selectBydestId(@Param("id") Long destId);

    List<Ticket> selectCommendTicketsTop4();

    List<Ticket> selectBydestIdAndThemelId(@Param("destId") Long ajaxDestId, @Param("themeId") Long ajaxSubjectId);
}